package com.example.nettydemo.pojo.ro;

import com.example.nettydemo.aspect.FieldConfig;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Author: wujing
 * Date:   2025/5/14 22:11
 * Description:
 */
@Data
public class TelCallRecordItemVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @FieldConfig(length = 14, type = Timestamp.class, order = 0)
    @JsonProperty("start_time")
    private Timestamp startTime;

    @FieldConfig(length = 6, type = Integer.class, order = 1)
    @JsonProperty("called_duration")
    private Integer calledDuration;

    @FieldConfig(length = 24, type = String.class, order = 1)
    @JsonProperty("other_party")
    private String otherParty;
}
